package com.example.customize.entity;


import com.example.customize.entity.base.dto.DataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * user Entity
 * @author robot
 * @version 2020-05-27
 */
@ApiModel(description = "User")
public class User extends DataEntity {
	
	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "姓名")
	private String name;
	@ApiModelProperty(value = "年龄")
	private Long age;
	@ApiModelProperty(value = "邮箱")
	private String email;
	@ApiModelProperty(value = "用户昵称")
	private String userName;
	
	public User() {
		super();
	}

	public User(String id){
		super(id);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public Long getAge() {
		return age;
	}

	public void setAge(Long age) {
		this.age = age;
	}
	
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	
}